package com.zrrd.exercises._02_oop.demo02;

/**
 * @author WanJl
 * @version 1.0
 * @title Main
 * @description
 * @create 2023/10/21 18:48
 */
public class Main {
    public static void main(String[] args) {
        NoteBook noteBook = new NoteBook();
        USB mouse=new Mouse();
        USB key=new Key();
        noteBook.run();//开机
        noteBook.useUSB(mouse);//使用鼠标
        noteBook.useUSB(key);//使用键盘
        noteBook.shutdown();//关机
    }
}

